<{include file="tpl/header.html"}>
<link rel="stylesheet" href="kindedit/themes/default/default.css" />
<link rel="stylesheet" href="kindedit/plugins/code/prettify.css" />

<h2 class="ytadmin-h2">网站信息设置</h2>
<div class="ytadmin-form-wrap">
<form class="form-horizontal" action="<{spUrl c=setting a=webinfo}>" method="post">
	<div class="form-group">
		<label class="col-sm-2 control-label" for="cms_title">网站标题：</label>
		<div class="col-sm-10">
			<input type="text" name="cms_title" class="form-control" value="<{$setting_return['cms_title']|default:$cms_title}>"/>	
		</div>
	</div>
	<div class="form-group">
		<label class="col-sm-2 control-label" for="cms_description">网站描述：</label>
		<div class="col-sm-10">
			<input type="text" class="form-control" name="cms_description" value="<{$setting_return['cms_description']|default:$cms_description}>"/>
		</div>	
	</div>
	<div class="form-group">
		<label class="col-sm-2 control-label" for="cms_postcode">关键字：</label>
		<div class="col-sm-10">
			<input type="text" class="form-control" name="cms_postcode" value="<{$setting_return['cms_postcode']|default:$cms_postcode}>"/>
		</div>	
	</div>
	<hr />
	<div class="form-group">
		<label class="col-sm-2 control-label" for="cms_address">地址：</label>
		<div class="col-sm-10">
			<input type="text" class="form-control" name="cms_address" value="<{$setting_return['cms_address']|default:$cms_address}>"/>
		</div>
	</div>
	<div class="form-group">
		<label class="col-sm-2 control-label" for="cms_phone">联系电话：</label>
		<div class="col-sm-10">
			<input type="text" class="form-control" name="cms_phone" value="<{$setting_return['cms_phone']|default:$cms_phone}>"/>
		</div>	
	</div>
	<div class="form-group">
		<label class="col-sm-2 control-label" for="cms_email">电子邮箱：</label>
		<div class="col-sm-10">
			<input type="text" class="form-control" name="cms_email" value="<{$setting_return['cms_email']|default:$cms_email}>"/>
		</div>
	</div>
	<hr />

	<div class="form-group">
		<label class="col-sm-2 control-label" for="cms_record">备案号：</label>
		<div class="col-sm-10">
			<input type="text" class="form-control" name="cms_record" value="<{$setting_return['cms_record']|default:$cms_record}>"/>
		</div>	
	</div>	
	<div class="form-group">
		<label class="col-sm-2 control-label" for="cms_ann">版权信息：</label>
		<div class="col-sm-10">
			<input type="text" class="form-control" name="cms_ann" value="<{$setting_return['cms_ann']|default:$cms_ann}>"/>
		</div>	
	</div>	
	<hr />
	<div class="form-group">
		<label class="col-sm-2 control-label" for="cms_ann">是否显示时间：</label>
		
			<input type="checkbox" style="margin-left:15px;" name="cms_is_time_visible" <{if $setting_return['cms_is_time_visible'] == "on" || $cms_is_time_visible == "on" }>checked="checked"<{/if}> />
		
	</div>	
	<hr />
	<div class="form-group">
		<label class="col-sm-2 control-label" for="cms_ann">邮件服务器地址：</label>
		<div class="col-sm-10">
			<input type="text" class="form-control" name="email_server_address" value="<{$setting_return['email_server_address']|default:$email_server_address}>"/>
		</div>	
	</div>	
	<div class="form-group">
		<label class="col-sm-2 control-label" for="cms_ann">邮件服务器用户名：</label>
		<div class="col-sm-10">
			<input type="text" class="form-control" name="email_server_username" value="<{$setting_return['email_server_username']|default:$email_server_username}>"/>
		</div>	
	</div>	
	<div class="form-group">
		<label class="col-sm-2 control-label" for="cms_ann">邮件服务器密码：</label>
		<div class="col-sm-10">
			<input type="password" class="form-control" name="email_server_password" value="<{$setting_return['email_server_password']|default:$email_server_password}>"/>
		</div>	
	</div>	
	<div class="form-group">
		<label class="col-sm-2 control-label" for="cms_ann">邮件接收地址：</label>
		<div class="col-sm-10">
			<input type="text" class="form-control" name="email_recieve_address" value="<{$setting_return['email_recieve_address']|default:$email_recieve_address}>"/>
		</div>	
	</div>	

	<div class="form-group">
		<label class="col-sm-2 control-label" for="cms_ann">网站首页介绍：</label>
		<div class="col-sm-10">
			<textarea type="text" style="width:600px;" class="form-control" name="web_shouye_info"><{$setting_return['web_shouye_info']|default:$web_shouye_info}></textarea>
		</div>	
	</div>	

	<hr />	
	<div class="form-group">
		<div class="col-sm-offset-2 col-sm-10">
			<input type="submit" class="btn btn-info" name="setting_update_submit" value="更新"/>
		</div>
	</div>
</form>	
</div>
<{include file="tpl/footer.html"}>